body {
	/* background-color: rgb(82, 86, 89); */
	background-color: #eeeeee;
}

/* 左侧pdf展示部分模块 */

.middle {
	position: relative;
	width: 100%;
	height: 100vh;
	/* background-color: #005CBF; */
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}

#pdf-container {
	padding-top: 20px;
	/* margin-top: 50px; */
	text-align: center;
	overflow-y: auto;
	width: calc(100% - 250px);
}

/* 左侧缩略图 */
#pdf-sideBar {
	position: fixed;
	/* margin-top: 50px; */
	margin-bottom: 10px;
	width: 250px;
	min-width: 200px;
	max-width: 200px;
	left: 0px;
	height: calc(100vh - 50px);
	background-color: #eeeeee;
	border-left: solid #d0d0d0 1px;
	overflow-y: auto;
	padding-top: 10px;
	z-index: 9;
	border-right: 1px solid gainsboro;
	display: none;
}
.side-bar {
	width: 98px;
	height: 126px;
	background-color: wheat;
	position: relative;
	margin: 15px auto;
	box-shadow: 3px 3px 5px gray;
	transition: all 0.1s;
}
.side-bar > img {
	width: 100%;
	height: 100%;
}
.side-bar:hover {
	cursor: pointer;
}

/* 工具栏 */
.toolbar {
	width: 100%;
	background-color: #eeeeee;
	border-bottom: solid #d0d0d0 1px;
	min-height: 50px;
	position: relative;
	top: 0;
	left: 0;
	z-index: 10;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}

button:focus {
	outline: none;
}

.toolbar .tool {
	display: flex;
	flex-direction: row;
	justify-content: center;
	/* align-items: center; */
	height: 100%;
	margin-right: 5px;
	min-width: 40px;
	text-align: center;
	position: relative;
}

.toolbar .tool label {
	display: block;
	width: auto;
	line-height: 50px;
	font-size: 15px;
	height: 50px;
	vertical-align: middle;
	margin-left: 5px;
	margin-right: 5px;
	margin-bottom: 0rem !important;
}

.toolbar .tool select {
	display: block;
	width: auto;
	margin-top: 10px;
	line-height: 30px;
	font-size: 15px;
	height: 30px !important;
	vertical-align: middle;
	margin-left: 5px;
	border: 1px solid gainsboro;
}

.toolbar .tool select > option {
	font-size: 15px;
}

.toolbar .tool select:focus {
	outline: none !important;
}

.toolbar .tool input:focus {
	outline: none !important;
}

.toolbar .tool input {
	border: 1px solid gainsboro;
	display: block;
	width: 50px;
	height: 30px;
	margin-left: 5px;
	text-align: center;
	margin-top: 10px;
}

.tool-text {
	text-align: center;
}
#page-num::-webkit-outer-spin-button,
#page-num::-webkit-inner-spin-button {
	-webkit-appearance: none;
}
#page-num {
	-moz-appearance: textfield;
}

.toolbar .tool button {
	width: 30px;
	height: 30px;
}

.toolbar-button-drop-button {
	display: inline-block;
	width: 30px;
	height: 30px;
	margin-left: 5px;
	background-color: #000000;
	border-radius: 5px;
	margin-top: 10px;
}

.color-plate {
	position: absolute;
	width: 145px;
	min-height: 120px;
	background-color: white;
	border: 1px solid gainsboro;
	margin-top: 40px;
	margin-left: 40px;
	padding: 5px 5px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	border-radius: 5px;
	z-index: 99;
}

.color-plate-item {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin-left: 5px;
	margin-top: 5px;
}

.color-plate-item:hover {
	cursor: pointer;
}

.toolbar-button-drop-button:hover {
	cursor: pointer;
}

.tool-separate {
	height: 30px;
	width: 2px;
	background-color: gainsboro;
}

.toolbar .tool .color-tool {
	height: 25px;
	width: 25px;
	border-radius: 25px;
	border: 0;
	cursor: pointer;
	display: inline-block;
}

.toolbar .tool .color-tool.active {
	-webkit-box-shadow: 3px 4px 5px 0px rgba(0, 0, 0, 0.75);
	-moz-box-shadow: 3px 4px 5px 0px rgba(0, 0, 0, 0.75);
	box-shadow: 3px 4px 5px 0px rgba(0, 0, 0, 0.75);
}

.toolbar .tool:nth-last-child(1) {
	float: right;
}

.toolbar .tool .tool-button,
.tool-button-other {
	background-color: #eeeeee;
	border: 1px solid #eeeeee;
	color: black;
	cursor: pointer;
	width: 30px;
	height: 30px;
	/* margin-top: 10px; */
}
@media (pointer: fine) {
	.toolbar .tool .tool-button:hover,
	.toolbar .tool-button-other:hover {
		background-color: white;
		border-radius: 5px;
		/* border-color: rgb(82, 86, 89); */
	}
}

.toolbar .tool .tool-button.active,
.toolbar .tool .tool-button-other.active {
	background-color: white;
	border-radius: 5px;
	/* border-color: rgb(82, 86, 89); */
}

#undoButton i,
#redoButton i {
	color: white;
}

/* 批注旁边的控制面板(删除\添加备注) */
.controlPanel {
	/* 	top: 100px;
	left: 500px; */
	min-width: 35px;
	min-height: 80px;
	/* background-color: wheat; */
	position: absolute;
	z-index: 9;
	display: flex;
	flex-direction: column;
	align-content: flex-start;
}

.controlPanel i {
	width: 30px;
	height: 30px;
	background-color: ghostwhite;
	border-radius: 50%;
	color: gray;
	vertical-align: middle;
	display: table-cell;
}

.controlPanel > div {
	width: 30px;
	height: 30px;
	margin: 0 auto;
	border-radius: 50%;
	text-align: center;
	display: table;
	margin-top: 5px;
	border: 1px solid gainsboro;
}

.controlPanel > div:hover {
	cursor: pointer;
	border: 1px solid skyblue;
}

.controlPanel > div:hover i {
	color: skyblue;
}

/* 添加备注的记录面板 */
.conmentPanel {
	/* 	top: 100px;
	left: 500px; */
	min-width: 200px;
	min-height: 120px;
	background-color: white;
	position: absolute;
	z-index: 9;
	display: flex;
	flex-direction: column;
	align-content: flex-start;
	border: 1px solid gray;
	border-radius: 5px;
}

.conmentPanel textarea {
	padding: 14px;
	border-radius: 8px;
	width: 100%;
	height: 90px;
	/* background-color: wheat; */
	line-height: 18px;
	font-size: 18px;
	outline: none;
	resize: none;
	border: 0;
	padding: 0;
}

.conmentPanel-bottom {
	width: 100%;
	height: 30px;
	border: 0;
	padding: 0;
	background-color: gainsboro;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
}

.conmentPanel-bottom div i {
	line-height: 30px;
}

#conmentPanel-bottom-save,
#conmentPanel-bottom-cancel {
	width: 100px;
	height: 30px;
	border: 0;
	/* background: rgb(240, 240, 240); */
	border-radius: 3px;
	text-align: center;
	align-items: center;
	transition: all 0.3s;
	border-radius: 3px;
}

#conmentPanel-bottom-save:hover {
	cursor: pointer;
	background-color: #46a285 !important;
	transition: all 0.3s;
}

#conmentPanel-bottom-save:hover > i {
	color: white;
}

#conmentPanel-bottom-cancel:hover {
	cursor: pointer;
	background-color: #c9302c !important;
	transition: all 0.3s;
}

#conmentPanel-bottom-cancel:hover > i {
	color: white;
}

/* //加载动画 */
.middle-load {
	position: absolute;
	height: 100vh;
	width: 100%;
	text-align: center;
	background-color: #eeeeee;
	z-index: 12;
}

.loader {
	display: inline-block;
	width: 30px;
	height: 30px;
	position: relative;
	border: 4px solid #fff;
	top: 50%;
	animation: loader 2s infinite ease;
}

.loader-inner {
	vertical-align: top;
	display: inline-block;
	width: 100%;
	background-color: #fff;
	animation: loader-inner 2s infinite ease-in;
}

@keyframes loader {
	0% {
		transform: rotate(0deg);
	}

	25% {
		transform: rotate(180deg);
	}

	50% {
		transform: rotate(180deg);
	}

	75% {
		transform: rotate(360deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes loader-inner {
	0% {
		height: 0%;
	}

	25% {
		height: 0%;
	}

	50% {
		height: 100%;
	}

	75% {
		height: 100%;
	}

	100% {
		height: 0%;
	}
}
